extends ../../layout/layout

block content
  .content-wrapper
    .search-condition
      form#form-search
        .form-inline
          .form-group
            label.marginR10 报价类型
              select.form-control.form-width100(name="type")
          //-.form-group
            label.marginR10 服务类型
              select.form-control.form-width100(name="serType")
          .form-group
            label.marginR10 车辆类型
              select.form-control.form-width100(name="carType")
          .form-group
            label.marginR10 报价状态
              select.form-control.form-width100(name="status")
          .form-group
            label.marginR10 城市
              select.form-control.form-width100(name="cityId")

    .com-op.marginT10
      button.btn.btn-default.marginR10#btn-search(type="button")
        i.fa.fa-search
        span 搜索
      button.btn.btn-default.marginR10#btn-view(type="button")
        //- i.fa.fa-?
        span 查看/修改
      button.btn.btn-default.marginR10#btn-add(type="button")
        i.fa.fa-plus
        span 新增
      //- button.btn.btn-default.marginR10#btn-audit(type="button")
      //-   //- i.fa.fa-?
      //-   span 价格复核
      //- button.btn.btn-default.marginR10#btn-active(type="button")
      //-   //- i.fa.fa-?
      //-   span 启用
      //- button.btn.btn-default.marginR10#btn-ban(type="button")
      //-   //- i.fa.fa-?
      //-   span 禁用

    .content-body.marginT10#table-box
      table.table#table-price
      #pager-price

block vendor_css
  link(rel='stylesheet', type="text/css", href="../../vendor/jqGrid/css/ui.jqgrid-bootstrap.css")

block vendor_js
  script(src="../../vendor/jqGrid/js/jquery.jqGrid.js")
  script(src="../../vendor/jqGrid/js/i18n/grid.locale-cn.js")
  script(src="../../vendor/laydate/laydate.js")
  script(src="../../vendor/jquery-validation-1.17.0/jquery.validate.min.js")
  script(src="../../vendor/jquery-validation-1.17.0/jquery.validate.extend.js")

block self_js
  script(src="../../js/module/price/list.js")

block layer
  .layer-box#layer-price
    .d-header
      | 操作时间：
      span(data-operDate) 2017-10-20 20:12:30
      | &emsp;&emsp;&emsp;&emsp;
      | 操作人：
      span(data-operMan) 张三丰
    .d-content
      form#form-price
        .row.form-row.form-row-sm
          .col-xs-4
            .form-text 报价规则名称：
            .form-container
              input.form-control.form-width300(name="ruleName")
        .row.form-row.form-row-sm
          .col-xs-4
            .form-text 报价类型：
            .form-container
              select.form-control(name="type")
          .col-xs-4
            .form-text 车辆类型：
            .form-container
              select.form-control(name="carType")
          .col-xs-4
            .form-text 城市：
            .form-container
              select.form-control(name="cityId")
        .row.form-row.form-row-sm
          .col-xs-6
            .form-text 起步费：
            .form-container
              input.form-control.form-width120(name="startFee")
              | 元
          .col-xs-6
            .form-text 起步里程：
            .form-container
              input.form-control.form-width120(name="commonMileage")
              | km
        .row.form-row.form-row-sm
          .col-xs-6
            .form-text 里程费(每公里)：
            .form-container
              input.form-control.form-width120(name="unitpricepermile")
              | 元
          .col-xs-6
            .form-text 高峰里程费(每公里)：
            .form-container
              input.form-control.form-width120(name="peakpricestartmile")
              | 元
        .row.form-row.form-row-sm
          .col-xs-6
            .form-text 时长费(每分钟)：
            .form-container
              input.form-control.form-width120(name="unitpriceperminute")
              | 元
          .col-xs-6
            .form-text 高峰时长费(每分钟)：
            .form-container
              input.form-control.form-width120(name="peakunitprice")
              | 元
        .row.form-row.form-row-sm
          .col-xs-12
            .form-text 远途费(每公里)：
            .form-container
              input.form-control.form-width120(name="farAwayPrice")
              | 元
        .row.form-row.form-row-sm
          .col-xs-12
            .form-text 夜间服务附加费：
            .form-container
              input.form-control.form-width120(name="nightPrice")
              | 元
        .row.form-row.form-row-sm
          .col-xs-12
            .form-text 出城费(每公里)：
            .form-container
              input.form-control.form-width120(name="outTownPrice")
              | 元
        .row.form-row.form-row-sm
          .col-xs-12
            .form-text 运价有效期：
            .form-container
              input.form-control.form-width300#farevaliddate(name="farevaliddate")
              //- input(type="hidden" name="farevalidon")
              //- input(type="hidden" name="farevalidoff")
        .row.form-row.form-row-sm
          .col-xs-12
            .form-text 营运早高峰：
            .form-container
              input.form-control.form-width100(name="morningpeaktimeon")
              span 至
              input.form-control.form-width100(name="morningpeaktimeoff")
              span 格式：hhmm（时分，如“0830”）
              //- input.form-control.form-width300#morningpeaktimedate(name="morningpeaktimedate")
              //- input(type="hidden" name="morningpeaktimeon")
              //- input(type="hidden" name="morningpeaktimeoff")
        .row.form-row.form-row-sm
          .col-xs-12
            .form-text 营运晚高峰：
            .form-container
              input.form-control.form-width100(name="eveningpeaktimeon")
              span 至
              input.form-control.form-width100(name="eveningpeaktimeoff")
              span 格式：hhmm（时分，如“0830”）
              //- input.form-control.form-width300#eveningpeaktimedate(name="eveningpeaktimedate")
              //- input(type="hidden" name="eveningpeaktimeon")
              //- input(type="hidden" name="eveningpeaktimeoff")
        .row.form-row.form-row-sm
          .col-xs-12
            .form-text 夜间服务费收取时间：
            .form-container
              input.form-control.form-width100(name="nightPriceEndTime")
              span 至
              input.form-control.form-width100(name="nightPriceStartTime")
              span 格式：整点（24小时制）

    .d-bottom
      span *
      | 请仔细确认报价后再提交
      //- span.submit 确认提交
